import { createApp } from 'vue'
import {i18n} from './locales'
import './assets/style/index.scss'
import 'vant/lib/index.css'
import 'amfe-flexible'
import './permission'

import signVant from './plugins/vant'
import signVideo from './plugins/video'
import CInput from './components/CInput'
import { Icon } from 'vant';

import App from './App.vue'
import router from './router'
import store from './store'

const app = createApp(App)

// 注册全局组件
app.component('CInput', CInput)

signVideo(app)
signVant(app)

app.use(router)
app.use(store)
app.use(i18n)
app.use(Icon)
app.mount('#app')
